import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)

import Http from '../common/js/http.js'

const store = new Vuex.Store({
	state: {
		tabbarList: {},
		sourceMember: 0, // 来源会员
		userInfo: {}, // 授权信息
		token: null,
		shareConfiguration: {},  //分享配置
	},
	mutations: {
		setTabbarList(state, value) {
			state.tabbarList = value;
		},
		setToken(state, value) {
			state.token = value;
		},
		setUserinfo(state, value) {
			state.userInfo = value;
		},
		setSourceMember(state, value) {
			state.sourceMember = value;
		},
	},
	actions: {
    
	}
})
export default store
